<%@ page import="com.zx.mobile.domain.MobileUserDomain"%>
<%@ page import="com.zx.mobile.SessionHelper"%>
<!doctype html>
<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8"
	language="java"%>
<%@ include file="/jsp/mobile/include/include.jsp"%>
<html lang="cn">
<head>
<%@ include file="/jsp/mobile/include/header.jsp"%>
<title>信用卡还款</title>
</head>
<body class="nobg">
	<div class="main">
		<div class="tBlo mt15">
			<ul>
				<input type="hidden" id="bankCode" name="bankCode" value="${model.bankCode}"/>
				            <input type="hidden" id="bankName" name="bankName" value="${model.bankName}"/>
				<input type="hidden" id="cardNo" name="cardNo" value="${model.cardNo}"/>
				<input type="hidden" id="paycardId" name="paycardId" value="${model.paycardId}"/>
				<c:forEach  var= "i" begin= "1" step= "1" end= "28">
					<li
											onclick="dealSelect('<c:out value="${i}"/>');">
											<span class="ti">
												每月<c:out	value="${i}"/>号 </span> <i class="ico ico16"></i></li>
				</c:forEach>
			</ul>
		</div>
	</div>
	<script type="text/javascript">
	function dealSelect(_notifyDate)
	{
		 //edit by wenjw 2016.1.29支持修改页面
	     var _paycardId = $("#paycardId").val();
	     if(_paycardId == ''){
	        window.location.href = "<%=request.getContextPath()%>/mobile/index/addCreditCardPre?bankCode=" + $("#bankCode").val() + "&bankName=" +$("#bankName").val() +"&notifyDate="+_notifyDate+"&cardNo="+$("#cardNo").val();
	     }else{
	        window.location.href = "<%=request.getContextPath()%>/mobile/index/manageCreditCard?bankCode=" + $("#bankCode").val() + "&bankName=" +$("#bankName").val() +"&notifyDate="+_notifyDate+"&cardNo="+$("#cardNo").val()+"&paycardId="+_paycardId;
	     }
	}
</script>
</body>
</html>